-
Notifications
You must be signed in to change notification settings - Fork 20k
Add SingleBitOperations #4415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SingleBitOperations #4415
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest to rename this class to SingleBitOperations
.
src/main/java/com/thealgorithms/bitmanipulation/SingleBitOperators.java
Outdated
Show resolved
Hide resolved
src/main/java/com/thealgorithms/bitmanipulation/SingleBitOperators.java
Outdated
Show resolved
Hide resolved
src/main/java/com/thealgorithms/bitmanipulation/SingleBitOperators.java
Outdated
Show resolved
Hide resolved
src/main/java/com/thealgorithms/bitmanipulation/SingleBitOperators.java
Outdated
Show resolved
Hide resolved
src/main/java/com/thealgorithms/bitmanipulation/SingleBitOperators.java
Outdated
Show resolved
Hide resolved
src/test/java/com/thealgorithms/bitmanipulation/SingleBitOperatorTest.java
Outdated
Show resolved
Hide resolved
Final bit operator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you use the name SingleBitOperator
and not SingleBitOperations
?
I think the second name makes more sense in this context:
- this class defines single bit operations,
- it is not a single bit operator.
Please rebase (cf. #4422). Sorry for the confusion with merging.
src/main/java/com/thealgorithms/bitmanipulation/SingleBitOperator.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does the programm need this private constructor?
Your class has only Also JaCoCo will show now 100% coverage for your file. |
Ok that does make sense |
@lukasb1b please have a look at this comment about renaming. |
@vil02 changed the naming |
#4350 as its not done yet